package cloud.simple.ui.remote;

import cloud.simple.ui.model.User;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * ${DESCRIPTION}
 *
 * @author xiang.orchid@gmail.com
 * @Create 2016-09-30 9:12
 */
@FeignClient("cloud-simple-service")
public interface CloudSimpleClient {

    @RequestMapping(method = RequestMethod.GET, value = "/user")
    List<User> readUserInfo();
}
